import { defineStore } from 'pinia'
import { computed } from 'vue'

export const useScreenStore = defineStore('screen', {
  state: () => {
    return {
      width: computed(() => {
        return document.documentElement.clientWidth
      }),
      height: computed(() => {
        return document.documentElement.clientHeight
      })
    }
  }
})
